package top.mable.payment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import top.mable.payment.dao.GpPayFeeInfoMapper;
import top.mable.payment.service.GpPayFeeInfoService;
import top.mable.common.vo.GpPayFeeInfoDTO;


@Service
public class GpPayFeeInfoServiceImpl extends ServiceImpl<GpPayFeeInfoMapper,GpPayFeeInfoDTO> implements GpPayFeeInfoService {

    //@Transactional(propagation = Propagation.REQUIRES_NEW)
    public void change(GpPayFeeInfoDTO gpPayFeeInfoDTO){
        gpPayFeeInfoDTO.setId("2");
        updateById(gpPayFeeInfoDTO);
    }
}
